package com.xc.question.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xc.question.entity.SysQuestion;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author: 星川
 * @Date: 2023/04/12/16:14
 * @Description:
 */
@Mapper
public interface SysQuestionMapper extends BaseMapper<SysQuestion> {
    //获取首页列表
    IPage<SysQuestion> getList(IPage<SysQuestion> page);
    //查询我的问卷列表
    IPage<SysQuestion> getMyQuestionList(IPage<SysQuestion> page , @RequestParam("openid") String openid);
}
